﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.Extensions.Logging;

namespace iot.Pages
{
    public partial class ABControl : UserControl
    {
        Form form;
        public ABControl(Form form)
        {
            InitializeComponent();
            this.form = form;
            this.input1.Text = "127.0.0.1";
            this.input2.Text = "44818";
        }

        public bool bConnected { get; set; }

        private void button1_Click(object sender, EventArgs e)
        {
            // Use 'await' to ensure the asynchronous method is awaited properly.  
        }

        private void button2_Click(object sender, EventArgs e)
        {

        }
    }
}
